@layout("/common/_container.html",{js:["/assets/bs/bsWarehousePro/bsWarehousePro_add.js"]}){

<div class="layui-body-header">
    <span class="layui-body-header-title">添加</span>
</div>

<div class="layui-fluid " style="">
    <div class="layui-card">
        <div class="layui-card-body">
            <form id="bsWarehouseProForm" lay-filter="bsWarehouseProForm" class="layui-form model-form" style="max-width: 700px;margin: 40px auto;">
                <input name="id" type="hidden"/>
                <div class="layui-form-item">
                    <label class="layui-form-label">项目<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="proId" name="proId"  lay-filter="proId" lay-search lay-creatable>
                            <option value="">选择项目</option>
                            @for(item in basicOperatelist!){
                            <option value="${item.id}">${item.operateName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <select id="warehouseId" name="warehouseId" lay-filter="warehouseId" lay-search lay-creatable>
                            <option value="">选择仓库</option>
                            @for(item in basicWarehouseList!){
                            <option value="${item.id}">${item.warehouseName}</option>
                            @}
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库地址<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="warehouseAddr" name="warehouseAddr" placeholder="请输入仓库地址" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">所属事业部<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="belongDept" name="belongDept" placeholder="请输入所属事业部" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">业务类型<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="businessType" name="businessType" placeholder="请输入业务类型" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库面积<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="warehouseArea" name="warehouseArea" placeholder="请输入仓库面积" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">经度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="lng" name="lng" placeholder="请输入经度" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">维度<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="lat" name="lat" placeholder="请输入维度" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label class="layui-form-label">仓库图片<span style="color: red;">*</span></label>
                    <div class="layui-input-block">
                        <input id="warehouseImg" name="warehouseImg" placeholder="请输入仓库图片" type="text" class="layui-input" lay-verify="required" required/>
                    </div>
                </div>
                <div class="layui-form-item">
                    <div class="layui-input-block">
                        <button class="layui-btn" lay-filter="btnSubmit" lay-submit>&emsp;提交&emsp;</button>
                        <button class="layui-btn layui-btn-primary" type="button" id="backupPage">&emsp;返回&emsp;</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>

@}